# Contributor: Nico de Haer <nico.dehaer@gmail.com>
# Maintainer: Nico de Haer <nico.dehaer@gmail.com>
pkgname=mcjoin
pkgver=2.9
pkgrel=0
pkgdesc="Tiny multicast testing tool"
url="https://github.com/troglobit/mcjoin"
license="ISC"
arch="all"
subpackages="$pkgname-doc"
source="https://github.com/troglobit/mcjoin/releases/download/v$pkgver/mcjoin-$pkgver.tar.gz"
options="!check" # no test suite

build() {
	./configure --prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
f73366f311d0d8ea6cf0fa3e800c474e05de810aeb480518db5aa9014309e4aca5d8fb2899e352149afc631ca21bcccd1ff6f12994920cc74a5502fa50c834a4  mcjoin-2.9.tar.gz
"
